﻿Imports System.ComponentModel.DataAnnotations
Imports SistemaINCA.Models.Validators

Namespace Models.ViewModels

    Public Class ActividadDefaultModel

        Public Property ID As String
        Public Property Num As String

        <Display(Name:="Nombre de la Evaluación")> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(My.Resources.ErrorMessageResources))> _
        Public Property Nombre As String

        <Display(Name:="Porcentaje de Evaluación")> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(My.Resources.ErrorMessageResources))> _
        <Range(1, 100, ErrorMessageResourceName:="Error_OutOfRange_Porcentaje", ErrorMessageResourceType:=GetType(My.Resources.ErrorMessageResources))> _
        Public Property Porcentaje As Integer

        Public Property PorcentajeString As String
        Public Property Editable As Boolean
        Public Property DescEditable As String
        Public Property Estado As String
    End Class
End Namespace
